package org.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeAndName {
    private String eName;
    private String eSex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date eBirthday;
    private String eImg;
    private String eNation;
    private String eBlood;
    private String ePStatus;
    private String eIdCard;
    private String eBirthplace;
    private String dName;
    private String ePosition;
    private String eJobTitle;
    private String eLocation;
    private String ePersonType;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date eJoinDate;
    private String eEducation;
    private String eStatus;
    private String eLevel;
    private String eHealth;
    private String eSkill;
    private String ePhone;
    private String eWorkExperience;
    private String eAward;
    private String eYearStatus;
    private String eRemark;
}
